package com.lovo.sys.bean;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;

@Getter
@Setter
@NoArgsConstructor
@TableName("user")
@ApiModel(value = "用户实体",description = "用户实体")
public class UserBean {
    @TableId(value = "pk_userId",type = IdType.AUTO)
    @ApiModelProperty(value = "用户id")
    private long userId;

    @TableField("u_userName")
    @ApiModelProperty(value = "用户名")
    private String userName;

    @TableField("u_realName")
    @ApiModelProperty(value = "用户真实姓名")
    private String realName;

    @TableField("u_sex")
    @ApiModelProperty(value = "性别")
    private String sex;

    @TableField("u_pwd")
    @ApiModelProperty(value = "密码")
    private String pwd;

    @TableField("u_phone")
    @ApiModelProperty(value = "电话号码")
    private String phone;

    @TableField("u_firm")
    @ApiModelProperty(value = "公司名称")
    private String firm;

    @TableField("u_aptitudeImg")
    @ApiModelProperty(value = "资质图片")
    private String aptitudeImg;

    @TableField("u_idImage")
    @ApiModelProperty(value = "身份证图片")
    private String idImage;
    @TableField("u_role")
    @ApiModelProperty(value = "角色")
    private String role;

    @TableField("u_money")
    @ApiModelProperty(value = "预存款余额")
    private float money;

    @TableField("u_frozenState")
    @ApiModelProperty(value = "冻结状态 0-未冻结 1-已冻结")
    private int frozenState;

    @TableField("u_frozenCause")
    @ApiModelProperty(value = "冻结原因")
    private String frozenCause;




}
